package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 物料组表
 * </p>
 *
 * @author Levy
 * @since 2020-03-17
 */
public class ItemGroup extends Model<ItemGroup> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 改变时间戳
     */
   @TableField("CHANGE_STAMP")
   private String changeStamp;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
    /**
     * 物料组
     */
   @TableField("ITEM_GROUP")
   private String itemGroup;
    /**
     * 物料组描述
     */
   @TableField("DESCRIPTION")
   private String description;
    /**
     * 工艺路线
     */
   @TableField("ROUTER_BO")
   private String routerBo;
    /**
     * 物料清单
     */
   @TableField("BOM_BO")
   private String bomBo;
   @TableField("MASK_GROUP_BO")
   private String maskGroupBo;
    /**
     * 创建时间
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新时间
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getChangeStamp() {
      return changeStamp;
   }

   public void setChangeStamp(String changeStamp) {
      this.changeStamp = changeStamp;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getItemGroup() {
      return itemGroup;
   }

   public void setItemGroup(String itemGroup) {
      this.itemGroup = itemGroup;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public String getRouterBo() {
      return routerBo;
   }

   public void setRouterBo(String routerBo) {
      this.routerBo = routerBo;
   }

   public String getBomBo() {
      return bomBo;
   }

   public void setBomBo(String bomBo) {
      this.bomBo = bomBo;
   }

   public String getMaskGroupBo() {
      return maskGroupBo;
   }

   public void setMaskGroupBo(String maskGroupBo) {
      this.maskGroupBo = maskGroupBo;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String CHANGE_STAMP = "CHANGE_STAMP";

   public static final String SITE = "SITE";

   public static final String ITEM_GROUP = "ITEM_GROUP";

   public static final String DESCRIPTION = "DESCRIPTION";

   public static final String ROUTER_BO = "ROUTER_BO";

   public static final String BOM_BO = "BOM_BO";

   public static final String MASK_GROUP_BO = "MASK_GROUP_BO";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "ItemGroup{" +
         "handle = " + handle +
         ", changeStamp = " + changeStamp +
         ", site = " + site +
         ", itemGroup = " + itemGroup +
         ", description = " + description +
         ", routerBo = " + routerBo +
         ", bomBo = " + bomBo +
         ", maskGroupBo = " + maskGroupBo +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}